cmake_minimum_required(VERSION 3.10)

set(projectName routes)

project(${projectName})

# target_include_directories(../../build/source/base)
include_directories(${PROJECT_SOURCE_DIR}/inc ${PROJECT_SOURCE_DIR}/../pub_inc)

# aux_source_directory(linklist DIR_SRC)
aux_source_directory(src DIR_SRC)

add_library(${projectName} SHARED ${DIR_SRC})

set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/../../output/lib) # 设置库文件的输出目录

# add_executable(${projectName} ${DIR_SRC})

# target_link_libraries(${projectName}} base)
